/****************************************************************************
** Meta object code from reading C++ file 'fcitxqtinputcontextproxy.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "fcitxqtinputcontextproxy.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'fcitxqtinputcontextproxy.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_FcitxQtInputContextProxy_t {
    QByteArrayData data[51];
    char stringdata0[537];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FcitxQtInputContextProxy_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FcitxQtInputContextProxy_t qt_meta_stringdata_FcitxQtInputContextProxy = {
    {
QT_MOC_LITERAL(0, 0, 24), // "FcitxQtInputContextProxy"
QT_MOC_LITERAL(1, 25, 7), // "CloseIM"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 12), // "CommitString"
QT_MOC_LITERAL(4, 47, 3), // "str"
QT_MOC_LITERAL(5, 51, 9), // "CurrentIM"
QT_MOC_LITERAL(6, 61, 4), // "name"
QT_MOC_LITERAL(7, 66, 10), // "uniqueName"
QT_MOC_LITERAL(8, 77, 8), // "langCode"
QT_MOC_LITERAL(9, 86, 21), // "DeleteSurroundingText"
QT_MOC_LITERAL(10, 108, 6), // "offset"
QT_MOC_LITERAL(11, 115, 5), // "nchar"
QT_MOC_LITERAL(12, 121, 8), // "EnableIM"
QT_MOC_LITERAL(13, 130, 10), // "ForwardKey"
QT_MOC_LITERAL(14, 141, 6), // "keyval"
QT_MOC_LITERAL(15, 148, 5), // "state"
QT_MOC_LITERAL(16, 154, 4), // "type"
QT_MOC_LITERAL(17, 159, 18), // "UpdateClientSideUI"
QT_MOC_LITERAL(18, 178, 5), // "auxup"
QT_MOC_LITERAL(19, 184, 7), // "auxdown"
QT_MOC_LITERAL(20, 192, 7), // "preedit"
QT_MOC_LITERAL(21, 200, 13), // "candidateword"
QT_MOC_LITERAL(22, 214, 6), // "imname"
QT_MOC_LITERAL(23, 221, 9), // "cursorpos"
QT_MOC_LITERAL(24, 231, 22), // "UpdateFormattedPreedit"
QT_MOC_LITERAL(25, 254, 27), // "FcitxQtFormattedPreeditList"
QT_MOC_LITERAL(26, 282, 7), // "CloseIC"
QT_MOC_LITERAL(27, 290, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(28, 310, 9), // "DestroyIC"
QT_MOC_LITERAL(29, 320, 8), // "EnableIC"
QT_MOC_LITERAL(30, 329, 7), // "FocusIn"
QT_MOC_LITERAL(31, 337, 8), // "FocusOut"
QT_MOC_LITERAL(32, 346, 10), // "MouseEvent"
QT_MOC_LITERAL(33, 357, 1), // "x"
QT_MOC_LITERAL(34, 359, 15), // "ProcessKeyEvent"
QT_MOC_LITERAL(35, 375, 22), // "QDBusPendingReply<int>"
QT_MOC_LITERAL(36, 398, 7), // "keycode"
QT_MOC_LITERAL(37, 406, 4), // "time"
QT_MOC_LITERAL(38, 411, 5), // "Reset"
QT_MOC_LITERAL(39, 417, 11), // "SetCapacity"
QT_MOC_LITERAL(40, 429, 4), // "caps"
QT_MOC_LITERAL(41, 434, 17), // "SetCursorLocation"
QT_MOC_LITERAL(42, 452, 1), // "y"
QT_MOC_LITERAL(43, 454, 13), // "SetCursorRect"
QT_MOC_LITERAL(44, 468, 1), // "w"
QT_MOC_LITERAL(45, 470, 1), // "h"
QT_MOC_LITERAL(46, 472, 18), // "SetSurroundingText"
QT_MOC_LITERAL(47, 491, 4), // "text"
QT_MOC_LITERAL(48, 496, 6), // "cursor"
QT_MOC_LITERAL(49, 503, 6), // "anchor"
QT_MOC_LITERAL(50, 510, 26) // "SetSurroundingTextPosition"

    },
    "FcitxQtInputContextProxy\0CloseIM\0\0"
    "CommitString\0str\0CurrentIM\0name\0"
    "uniqueName\0langCode\0DeleteSurroundingText\0"
    "offset\0nchar\0EnableIM\0ForwardKey\0"
    "keyval\0state\0type\0UpdateClientSideUI\0"
    "auxup\0auxdown\0preedit\0candidateword\0"
    "imname\0cursorpos\0UpdateFormattedPreedit\0"
    "FcitxQtFormattedPreeditList\0CloseIC\0"
    "QDBusPendingReply<>\0DestroyIC\0EnableIC\0"
    "FocusIn\0FocusOut\0MouseEvent\0x\0"
    "ProcessKeyEvent\0QDBusPendingReply<int>\0"
    "keycode\0time\0Reset\0SetCapacity\0caps\0"
    "SetCursorLocation\0y\0SetCursorRect\0w\0"
    "h\0SetSurroundingText\0text\0cursor\0"
    "anchor\0SetSurroundingTextPosition"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FcitxQtInputContextProxy[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      21,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       8,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  119,    2, 0x06 /* Public */,
       3,    1,  120,    2, 0x06 /* Public */,
       5,    3,  123,    2, 0x06 /* Public */,
       9,    2,  130,    2, 0x06 /* Public */,
      12,    0,  135,    2, 0x06 /* Public */,
      13,    3,  136,    2, 0x06 /* Public */,
      17,    6,  143,    2, 0x06 /* Public */,
      24,    2,  156,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      26,    0,  161,    2, 0x0a /* Public */,
      28,    0,  162,    2, 0x0a /* Public */,
      29,    0,  163,    2, 0x0a /* Public */,
      30,    0,  164,    2, 0x0a /* Public */,
      31,    0,  165,    2, 0x0a /* Public */,
      32,    1,  166,    2, 0x0a /* Public */,
      34,    5,  169,    2, 0x0a /* Public */,
      38,    0,  180,    2, 0x0a /* Public */,
      39,    1,  181,    2, 0x0a /* Public */,
      41,    2,  184,    2, 0x0a /* Public */,
      43,    4,  189,    2, 0x0a /* Public */,
      46,    3,  198,    2, 0x0a /* Public */,
      50,    2,  205,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    6,    7,    8,
    QMetaType::Void, QMetaType::Int, QMetaType::UInt,   10,   11,
    QMetaType::Void,
    QMetaType::Void, QMetaType::UInt, QMetaType::UInt, QMetaType::Int,   14,   15,   16,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::Int,   18,   19,   20,   21,   22,   23,
    QMetaType::Void, 0x80000000 | 25, QMetaType::Int,    4,   23,

 // slots: parameters
    0x80000000 | 27,
    0x80000000 | 27,
    0x80000000 | 27,
    0x80000000 | 27,
    0x80000000 | 27,
    0x80000000 | 27, QMetaType::Int,   33,
    0x80000000 | 35, QMetaType::UInt, QMetaType::UInt, QMetaType::UInt, QMetaType::Int, QMetaType::UInt,   14,   36,   15,   16,   37,
    0x80000000 | 27,
    0x80000000 | 27, QMetaType::UInt,   40,
    0x80000000 | 27, QMetaType::Int, QMetaType::Int,   33,   42,
    0x80000000 | 27, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,   33,   42,   44,   45,
    0x80000000 | 27, QMetaType::QString, QMetaType::UInt, QMetaType::UInt,   47,   48,   49,
    0x80000000 | 27, QMetaType::UInt, QMetaType::UInt,   48,   49,

       0        // eod
};

void FcitxQtInputContextProxy::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FcitxQtInputContextProxy *_t = static_cast<FcitxQtInputContextProxy *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->CloseIM(); break;
        case 1: _t->CommitString((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->CurrentIM((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 3: _t->DeleteSurroundingText((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 4: _t->EnableIM(); break;
        case 5: _t->ForwardKey((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 6: _t->UpdateClientSideUI((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5])),(*reinterpret_cast< int(*)>(_a[6]))); break;
        case 7: _t->UpdateFormattedPreedit((*reinterpret_cast< FcitxQtFormattedPreeditList(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 8: { QDBusPendingReply<> _r = _t->CloseIC();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 9: { QDBusPendingReply<> _r = _t->DestroyIC();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 10: { QDBusPendingReply<> _r = _t->EnableIC();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 11: { QDBusPendingReply<> _r = _t->FocusIn();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 12: { QDBusPendingReply<> _r = _t->FocusOut();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 13: { QDBusPendingReply<> _r = _t->MouseEvent((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 14: { QDBusPendingReply<int> _r = _t->ProcessKeyEvent((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< uint(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<int>*>(_a[0]) = _r; }  break;
        case 15: { QDBusPendingReply<> _r = _t->Reset();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 16: { QDBusPendingReply<> _r = _t->SetCapacity((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 17: { QDBusPendingReply<> _r = _t->SetCursorLocation((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 18: { QDBusPendingReply<> _r = _t->SetCursorRect((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 19: { QDBusPendingReply<> _r = _t->SetSurroundingText((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 20: { QDBusPendingReply<> _r = _t->SetSurroundingTextPosition((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< FcitxQtFormattedPreeditList >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (FcitxQtInputContextProxy::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FcitxQtInputContextProxy::CloseIM)) {
                *result = 0;
            }
        }
        {
            typedef void (FcitxQtInputContextProxy::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FcitxQtInputContextProxy::CommitString)) {
                *result = 1;
            }
        }
        {
            typedef void (FcitxQtInputContextProxy::*_t)(const QString & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FcitxQtInputContextProxy::CurrentIM)) {
                *result = 2;
            }
        }
        {
            typedef void (FcitxQtInputContextProxy::*_t)(int , uint );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FcitxQtInputContextProxy::DeleteSurroundingText)) {
                *result = 3;
            }
        }
        {
            typedef void (FcitxQtInputContextProxy::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FcitxQtInputContextProxy::EnableIM)) {
                *result = 4;
            }
        }
        {
            typedef void (FcitxQtInputContextProxy::*_t)(uint , uint , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FcitxQtInputContextProxy::ForwardKey)) {
                *result = 5;
            }
        }
        {
            typedef void (FcitxQtInputContextProxy::*_t)(const QString & , const QString & , const QString & , const QString & , const QString & , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FcitxQtInputContextProxy::UpdateClientSideUI)) {
                *result = 6;
            }
        }
        {
            typedef void (FcitxQtInputContextProxy::*_t)(FcitxQtFormattedPreeditList , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FcitxQtInputContextProxy::UpdateFormattedPreedit)) {
                *result = 7;
            }
        }
    }
}

const QMetaObject FcitxQtInputContextProxy::staticMetaObject = {
    { &QDBusAbstractInterface::staticMetaObject, qt_meta_stringdata_FcitxQtInputContextProxy.data,
      qt_meta_data_FcitxQtInputContextProxy,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


const QMetaObject *FcitxQtInputContextProxy::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *FcitxQtInputContextProxy::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_FcitxQtInputContextProxy.stringdata0))
        return static_cast<void*>(const_cast< FcitxQtInputContextProxy*>(this));
    return QDBusAbstractInterface::qt_metacast(_clname);
}

int FcitxQtInputContextProxy::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
    return _id;
}

// SIGNAL 0
void FcitxQtInputContextProxy::CloseIM()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void FcitxQtInputContextProxy::CommitString(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void FcitxQtInputContextProxy::CurrentIM(const QString & _t1, const QString & _t2, const QString & _t3)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void FcitxQtInputContextProxy::DeleteSurroundingText(int _t1, uint _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void FcitxQtInputContextProxy::EnableIM()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void FcitxQtInputContextProxy::ForwardKey(uint _t1, uint _t2, int _t3)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void FcitxQtInputContextProxy::UpdateClientSideUI(const QString & _t1, const QString & _t2, const QString & _t3, const QString & _t4, const QString & _t5, int _t6)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)), const_cast<void*>(reinterpret_cast<const void*>(&_t6)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void FcitxQtInputContextProxy::UpdateFormattedPreedit(FcitxQtFormattedPreeditList _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_END_MOC_NAMESPACE
